<!--<?php
print <<<EOT
-->
<html>
<head>
<link href="{$baseconfig[mod]}/images/index.css" rel="stylesheet"
	type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="inc/js/jquery.js" type="text/javascript"></script>
<script src="inc/js/jquery-chekform.js" type="text/javascript"></script>
<!---->

</head>
<body>
<form name="form1" method="post" action="{$baseconfig[dourldefault]}">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%" class="list black" colspan="2">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="86%" align="center" class="black">信息设置</td>
						<td width="14%"><a href="javascript:history.go(-1)"><img
							src="{$baseconfig[mod]}/images/list_add3.gif" width="84"
							height="26"
							onMouseOver="this.src='{$baseconfig[mod]}/images/list_add4.gif'"
							onMouseOut="this.src='{$baseconfig[mod]}/images/list_add3.gif'"
							border="0" /></a></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td class="list-add1 pl8" colspan="2" style="display: none"
					id="errmsg"></td>
			</tr>
		</table>
		</td>
	</tr>

	<tr>
		<td id="cont">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="40" align="right" class="list-add1">商家名称：</td>
				<td class="list-add1 pl8"><input name="fm_name" type="text"
					size="30" value="{$res[name]}" id="fm_name" /></td>
			</tr>

	       <tr>
				<td height="40" align="right" class="list-add1">商家密码：</td>
				<td class="list-add1 pl8"><input name="fm_password" type="text"
					size="30" value="{$res[password]}" id="fm_password" /></td>
			</tr>

		<tr>
				<td height="40" align="right" class="list-add1">商家电话：</td>
				<td class="list-add1 pl8">
				<input name="fm_tel" type="text"
					size="40" value="{$res[tel]}" id="fm_tel" />
				</td>
			</tr>
			
			<tr>
				<td height="40" align="right" class="list-add1">商家网址：</td>
				<td class="list-add1 pl8">
                <input name="fm_url" type="text"
					size="60" value="{$res[url]}" id="fm_url" />
                </td>
			</tr>

			<tr>
				<td height="40" align="right" class="list-add1">商家邮件：</td>
				<td class="list-add1 pl8">   
				<input name="fm_mail" type="text"
					size="60" value="{$res[mail]}" id="fm_mail" /></td>
			</tr>
			<tr>
				<td height="40" align="right" class="list-add1">商家地址：</td>
				<td class="list-add1 pl8">
				<textarea rows="6" cols="50" id="fm_addr" name="fm_addr">{$res[addr]}</textarea>
			</tr>
		</table>


		</td>
	</tr>
	<tr>
		<td align="center" class="list-add1" colspan="2" style="padding: 20px">
              <!--
EOT;
if ($res[id]){
print <<<EOT
-->
<input type="hidden" name="modaction" value="mupdate" />
<input type="hidden" name="fm_id" value="$res[id]" />

<!--
EOT;
}else{print <<<EOT
-->
<input type="hidden" name="modaction"  value="minsert" />

<!-- 
EOT;
}print <<<EOT
-->
		<input type="submit" value="提&nbsp;&nbsp;交&nbsp;&nbsp;信&nbsp;&nbsp;息"
			name="sub" id="sub">
		</td>
	</tr>
</table>
</form>

<table width="102%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>

</body>
</html>
<!-- 
EOT;
?>-->